package com.sale.goods.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sale.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description 其他收入单
 * @Date 23-08-21
 * @Author hl
 **/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("goods_disburse")
public class GoodsDisburse extends BaseEntity {

    /** id */
    @TableId(value = "disburse_id")
    private Long disburseId;

    /** 其他收入单号 */
    private String disburseCode;

    /** 客户编码 */
    private String supplierCode;

    /** 客户名称 */
    private String supplierName;

    /** 收款人 */
    private String disburseBy;

    /** 开单时间 */
    private String disburseTime;

    /** 状态 */
    private Integer disburseStatus;

    /** 收款状态 */
    private Integer collectionStatus;

    /**  金额 */
    private BigDecimal disburseAmount;

    /** 本次收款 */
    private BigDecimal receivedAmount;

    /** 收款账户 */
    private Long collectionAccount;

    /** 附件地址 */
    private String avatar;

    /** 备注  */
    private String remark;

    /**
     * 审核人
     */
    private String examineBy;

    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date examineTime;


}
